package cn.quang.search.admin.entity.vo.logictable;




import java.util.List;


public class LogicTableRequest {

    
    private String name;
    
    private String description;
    
    private boolean shardingTable;
    
    private String shardingTableScfServiceName;
    
    private String shardingTableScfServiceUrl;
    
    private List<TableNameRequest> tables;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public boolean isShardingTable() {
        return shardingTable;
    }

    public void setShardingTable(boolean shardingTable) {
        this.shardingTable = shardingTable;
    }

    public String getShardingTableScfServiceName() {
        return shardingTableScfServiceName;
    }

    public void setShardingTableScfServiceName(String shardingTableScfServiceName) {
        this.shardingTableScfServiceName = shardingTableScfServiceName;
    }

    public String getShardingTableScfServiceUrl() {
        return shardingTableScfServiceUrl;
    }

    public void setShardingTableScfServiceUrl(String shardingTableScfServiceUrl) {
        this.shardingTableScfServiceUrl = shardingTableScfServiceUrl;
    }

    public List<TableNameRequest> getTables() {
        return tables;
    }

    public void setTables(List<TableNameRequest> tables) {
        this.tables = tables;
    }

    
    public static class TableNameRequest {
        
        private long tableId;
        
        private String tableName;

        public long getTableId() {
            return tableId;
        }

        public void setTableId(long tableId) {
            this.tableId = tableId;
        }

        public String getTableName() {
            return tableName;
        }

        public void setTableName(String tableName) {
            this.tableName = tableName;
        }
    }
}
